package com.pfzy.utildemo.api;

import com.alibaba.fastjson.JSONObject;
import com.pfzy.lib.net.BaseEntity;
import com.pfzy.utildemo.bean.TokenBean;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;

public interface Api {
    @Headers("Content-Type: application/json")
    @POST("/user/qiniu/token")
    Observable<BaseEntity<JSONObject>> getQiniuToken();

//    @Headers("Content-Type: application/json")
//    @POST("/msg/sms/sendcode")
//    Observable<BaseEntity<JSONObject>> sendCode(@Body RequestBody info);
//
//    @Headers("Content-Type: application/json")
//    @POST("/user/driver/login")
//    Observable<BaseEntity<JSONObject>> login(@Body RequestBody info);
//
//    @Headers("Content-Type: application/json")
//    @POST("/user/driver/loginNew")
//    Observable<BaseEntity<JSONObject>> loginNew(@Body RequestBody info);
//
//    @Headers("Content-Type: application/json")
//    @POST("/user/face/getCheckFaceSettings")
//    Observable<BaseEntity<JSONObject>> getCheckFaceSet();
//
//    @Headers("Content-Type: application/json")
//    @POST("/user/device/add")
//    Observable<BaseEntity<JSONObject>> deviceAdd(@Body RequestBody info);
}
